package com.kmzx.one.project.others.dto;

/**
 * @Project one
 * @Author: carol
 * @Date: 2020/9/3-10:39
 */
public class UserMsgInfo {

    private String id;

    private String userId;

    private String fromUser;

    private String title;

    private String content;

    private String createTime;

    private String imgUrl;

    private String linkUrl;

    private int forwards;

    private int kinds;

    private int types;

    private int reading;

    private String msgId;

    public String getMsgId() {
        return getId();
    }

    public UserMsgInfo setMsgId(String msgId) {
        this.msgId = msgId;
        return this;
    }

    public String getId() {
        return id;
    }

    public UserMsgInfo setId(String id) {
        this.id = id;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public UserMsgInfo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getFromUser() {
        return fromUser;
    }

    public UserMsgInfo setFromUser(String fromUser) {
        this.fromUser = fromUser;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public UserMsgInfo setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getContent() {
        return content;
    }

    public UserMsgInfo setContent(String content) {
        this.content = content;
        return this;
    }

    public String getCreateTime() {
        return createTime;
    }

    public UserMsgInfo setCreateTime(String createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public UserMsgInfo setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        return this;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public int getForwards() {
        return forwards;
    }

    public UserMsgInfo setForwards(int forwards) {
        this.forwards = forwards;
        return this;
    }

    public int getKinds() {
        return kinds;
    }

    public UserMsgInfo setKinds(int kinds) {
        this.kinds = kinds;
        return this;
    }

    public int getTypes() {
        return types;
    }

    public UserMsgInfo setTypes(int types) {
        this.types = types;
        return this;
    }

    public int getReading() {
        return reading;
    }

    public UserMsgInfo setReading(int reading) {
        this.reading = reading;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("UserMsgInfo{");
        sb.append("id='").append(id).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append(", fromUser='").append(fromUser).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", content='").append(content).append('\'');
        sb.append(", createTime='").append(createTime).append('\'');
        sb.append(", imgUrl='").append(imgUrl).append('\'');
        sb.append(", forwards=").append(forwards);
        sb.append(", kinds=").append(kinds);
        sb.append(", types=").append(types);
        sb.append(", reading=").append(reading);
        sb.append('}');
        return sb.toString();
    }
}
